package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 行政处罚
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("caseinfolist")
@ApiModel(value="CaseinfolistEntity对象", description="行政处罚")
public class CaseinfolistEntity extends Model<CaseinfolistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "统一信用代码")
    private String creditcode;

    @ApiModelProperty(value = "当事人")
    private String name;

    @ApiModelProperty(value = "注册号")
    @TableField("regNo")
    private String regno;

    @ApiModelProperty(value = "处罚决定书文号")
    @TableField("penDecNo")
    private String pendecno;

    @ApiModelProperty(value = "违法行为类型")
    @TableField("illegType")
    private String illegtype;

    @ApiModelProperty(value = "处罚结果")
    @TableField("penResult")
    private String penresult;

    @ApiModelProperty(value = "处罚机关名称")
    @TableField("penAuthCn")
    private String penauthcn;

    @ApiModelProperty(value = "处罚决定书签发日期")
    @TableField("penDecissDate")
    private String pendecissdate;

    @ApiModelProperty(value = "行政处罚内容")
    private String content;

    @ApiModelProperty(value = "公示日期")
    @TableField("publicDate")
    private String publicdate;

    @ApiModelProperty(value = "行政处罚总数量")
    @TableField("penAmount")
    private String penamount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
